﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DatabaseSynchronizer {
    
    abstract class DBServicesFactory {

        public static IDBService GetDBService(Settings setting) {

            switch (setting.Database) {

                case Database.SQL:
                default:
                    return new SQLDBService(setting.ConnectionString);
            }
        }
    }
}
